<extend name="Public/base"/>
<block name="head">
    <style>
        .app-topbar a{
            color: white;
        }
    </style>
</block>
<block name="body">
    <div class="app-page" data-page="home" style="display: block;">
        <div class="app-topbar">
            <div class="app-button left">
                <a href="{:U('/')}">Home</a>
            </div>
            <div class="app-title">用户中心</div>
            <div class="app-button right">
                <if condition="$user:is_login eq true">
                    <a href="{:U('/Member/User/Logout')}">退出</a>
                <else />
                    <a href="{:URL('/Member/User/Login',array('redirect_url'=>get_self_url()))}">登陆</a>
                </if>
            </div>
        </div>
        <div class="app-content">

        </div>
    </div>
</block>